package com.taikang.index.controller;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;
import javax.servlet.http.HttpSession;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

import com.taikang.base.controller.BaseController;


/**
 * 前台 - 首页
 * @creator     taikang
 * @create-time 2016/3/12 16:10:22
 * @email taikang@taikang.com
 * @company www.taikang.com
 * @version 1.0
 */
@Controller("frontIndexController")
@Scope("prototype")
@RequestMapping("/")
public class FrontIndexController extends BaseController {

	/**
	 * 跳转到首页
	 * @return 
	 */
	@RequestMapping(value = "/index.htm", method = RequestMethod.GET)
	public ModelAndView index(HttpSession session){
		
		ModelAndView modelAndView = new ModelAndView();
		modelAndView.setViewName("/front/index/index");
		Map<String, Object> data = modelAndView.getModel();

		
		return modelAndView;
	}

	
}